package com.learn.springcloud.hystrixexplainindetailconsumer;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Time : 2018/7/27 17:40
 * @Version : 1.0
 */
@RestController
public class Provider {

    @RequestMapping("/provider/general")
    public String sayHello(String name) throws Exception{
        Thread.sleep(10000);
        return "hello, " + name;
    }

}
